﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LogViewApp
{
    public class ListItem
    {
        public ListItem() { }
        public ListItem(string _id, string _name) { this._ID = _id; this._Name = _name; } 


        private string _ID;
        /// <summary>
        /// id
        /// </summary>
        public string ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private string _Name;
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }


        public override string ToString()
        {
            return string.Format("id:{0} name:{1}",this._ID,this._Name);
        }
    }
}
